package com.bjsxt.service.impl;

import com.bjsxt.mapper.PlannerMapper;
import com.bjsxt.pojo.PageA;
import com.bjsxt.pojo.Planner;
import com.bjsxt.service.PlannerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PlannerServiceImpl implements PlannerService {

    @Autowired
    private PlannerMapper plannerMapper;

    @Override
    public PageA<Planner> findMore(Integer cid) {

        List<Planner> list = plannerMapper.selectMore(cid);

        PageA<Planner>  pa=new PageA<>();
        pa.setRows(list);

        return pa;
    }
}
